package com.niren.relay.common.devinfo;

public class SetDevState {
    /**
     * 为0时，即控制整个设备的输出
     * 为1时，即控制单个节点的输出
     * */
    Integer controlRange;
    /**
     * mac地址或键值
     * controlRange = 0时，为mac地址
     * controlRange = 1时，为键值
     * */
    String macOrKey = "";
    /**
     * 输出状态值
     * 0为输出断开
     * 1为输出闭合
     * */
    Integer state = 0;
    /**
     * 点动时间，如果是自锁控制，请将此时间填100000
     * */
    Integer blinkTime = 100000;

    public Integer getControlRange() {
        return controlRange;
    }

    public void setControlRange(Integer controlRange) {
        this.controlRange = controlRange;
    }

    public String getMacOrKey() {
        return macOrKey;
    }

    public void setMacOrKey(String macOrKey) {
        this.macOrKey = macOrKey;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getBlinkTime() {
        return blinkTime;
    }

    public void setBlinkTime(Integer blinkTime) {
        this.blinkTime = blinkTime;
    }
}
